<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>公告通知详情</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="../css/mui.min.css" />
		<script type="text/javascript" src="../js/mui.min.js" ></script>
		<script type="text/javascript" src="../js/jquery-2.1.0.js" ></script>
		<script type="text/javascript" src="../js/mobile-detect.min.js" ></script>
		<script type="text/javascript" src="../js/config.js" ></script>
		<script type="text/javascript" src="../js/common.js" ></script>
	</head>
	<style>
		img{
			width: 100%;
		}
	</style>
	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">消息详情</h1>
		</header>
		<div class="mui-content" style="padding-left: 10px;padding-right: 10px;">
			<h4 class="title" style="text-align: center;margin: 10px 0 15px 0;"></h4>
			<p class="time" style="text-align: right;padding-right: 15px;"></p>
			<div class="content">
				<p class="neirong"></p>
			</div>
		</div>
		<script type="text/javascript" src="../js/template-web.js" ></script>
		<script>
			mui.init();
			mui.plusReady(function(){
				var ws = plus.webview.currentWebview();
				console.log(ws.art_id);
				require(weburl + newsDetail, "json", "post", {
					token: localStorage.getItem("token"),
					id: ws.art_id
				}, function(response) {
					console.log(JSON.stringify(response));
					if (response.status=="success") {
						$(".title").html(response.data[0].title);
						$(".time").html(response.data[0].updated_at);
						$(".content").html(response.data[0].content);
						return false;
					}
					mui.alert(response.msg," ","关闭",function(){},"div");
				}, function() {
					mui.alert('网络错误'," ","关闭",function(){},"div");
				})
			})
		</script>
	</body>
</html>
